const hanshu = {
  textEach: (string, n) => {
    string = string.substring(0,n)+'...'
    return string
  },
  regCheck: (string,reg) => {
    if(reg.test(string)){
      return true
    }
    return false
  }
}

export default hanshu
